package com.telrob.antlr.type;

import java.util.List;

public class ConditionIfBlockType extends XnType {
	private XnType ifCondition;
	private List<XnType> elseIfList=null;
	private XnType elseCondition;
	public ConditionIfBlockType(XnType ifCondition, List<XnType> elseIfList, XnType elseCondition) {
		super();
		this.ifCondition = ifCondition;
		this.elseIfList = elseIfList;
		this.elseCondition = elseCondition;
	}
	public XnType getIfCondition() {
		return ifCondition;
	}
	public void setIfCondition(XnType ifCondition) {
		this.ifCondition = ifCondition;
	}
	public List<XnType> getElseIfList() {
		return elseIfList;
	}
	public void setElseIfList(List<XnType> elseIfList) {
		this.elseIfList = elseIfList;
	}
	public XnType getElseCondition() {
		return elseCondition;
	}
	public void setElseCondition(XnType elseCondition) {
		this.elseCondition = elseCondition;
	}
	@Override
	public String toString() {
		return "ConditionIfBlockType [ifCondition=" + ifCondition + ", elseIfList=" + elseIfList + ", elseCondition="
				+ elseCondition + "]";
	}
}
